import numpy as np
import torch

a = np.arange(10).reshape(5, 2)
print(a)
print(type(a))
for i in a[:7]:  # 说明如果取值过了，不会报错，只是无操做而已
    print(i)
